from flask import current_app
from flask import session,render_template
# 导入蓝图
from . import news_bule
@news_bule.route('/')

def index():
    session['name']='2018'
    return render_template('news/index.html')
@news_bule.route('/favicon.ico')
def favion():

    return current_app.send_static_file('news/favicon.ico')
